package com.wocai.jrt.orgadmin.employee.dao;

import java.util.List;

import com.vteba.tx.jdbc.mybatis.annotation.DaoMapper;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;
import com.wocai.jrt.orgadmin.employee.model.EmployeeCommissionHistory;
import com.wocai.jrt.orgadmin.employee.model.EmployeeCommissionHistoryBean;
import com.wocai.jrt.orgadmin.pay.bean.CommissionPayEmpResBean;
import com.wocai.jrt.orgadmin.pay.bean.CommissionPayReqBean;
import com.wocai.jrt.orgadmin.pay.bean.CommissionPayResBean;
import com.wocai.jrt.orgadmin.pay.bean.CommissionPayTotalReqBean;
import com.wocai.jrt.orgadmin.pay.bean.CommissionPayTotalResBean;
import com.wocai.jrt.orgadmin.pay.bean.SettleAllReqBean;

/**
 * 表employee_commission_history的MyBatis Dao Mapper。
 * 由代码工具自动生成，可以新增方法，但是不要修改自动生成的方法。
 * @date 2015-08-25 19:35:32
 */
@DaoMapper
public interface EmployeeCommissionHistoryDao extends BaseDao<EmployeeCommissionHistory, EmployeeCommissionHistoryBean, String> {
	List<CommissionPayResBean> fetchCommissionPay(CommissionPayReqBean commissionPayReqBean);
	int fetchCount(CommissionPayReqBean commissionPayReqBean);
	
	List<CommissionPayTotalResBean> fetchCommissionTotalPay(CommissionPayTotalReqBean commissionPayTotalReqBean);
	int fetchTotalCount(CommissionPayTotalReqBean commissionPayTotalReqBean);
	
	List<CommissionPayEmpResBean> fetchCommissionEmpPay(CommissionPayReqBean commissionPayReqBean);
	int fetchEmpCount(CommissionPayReqBean commissionPayReqBean);
	
	Integer settleAll(SettleAllReqBean settleAllReqBean);
}